package tech.topcoder.springcloud.simpleservice.dao;

import java.util.List;
import tech.topcoder.springcloud.simpleservice.bean.RolePermission;
import tech.topcoder.springcloud.simpleservice.bean.RolePermissionExample;

public interface RolePermissionDao {
    long countByExample(RolePermissionExample example);

    int deleteByPrimaryKey(Long id);

    int insert(RolePermission record);

    int insertSelective(RolePermission record);

    List<RolePermission> selectByExample(RolePermissionExample example);

    RolePermission selectByPrimaryKey(Long id);

    int updateByPrimaryKeySelective(RolePermission record);

    int updateByPrimaryKey(RolePermission record);
}